<?php
<object class="resched_reminder" name="resched_reminder" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Reschedule Reminder</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Font">
    <property name="Color">#FFFFFF</property>
  </property>
  <property name="Height">392</property>
  <property name="IsMaster">0</property>
  <property name="Name">resched_reminder</property>
  <property name="UseAjax">1</property>
  <property name="Width">1008</property>
  <property name="OnCreate">resched_reminderCreate</property>
  <property name="jsOnLoad">resched_reminderJSLoad</property>
  <object class="HiddenField" name="hiddenReminder" >
    <property name="Height">18</property>
    <property name="Left">550</property>
    <property name="Name">hiddenReminder</property>
    <property name="Top">56</property>
    <property name="Width">200</property>
  </object>
  <object class="HiddenField" name="hiddenId" >
    <property name="Height">18</property>
    <property name="Left">550</property>
    <property name="Name">hiddenId</property>
    <property name="Top">79</property>
    <property name="Width">200</property>
  </object>
  <object class="Button" name="btnUpdate" >
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">36</property>
    <property name="Name">btnUpdate</property>
    <property name="ParentColor">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">340</property>
    <property name="Width">75</property>
    <property name="OnClick">btnUpdateClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">120</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="TabOrder">10</property>
    <property name="Top">340</property>
    <property name="Width">75</property>
    <property name="jsOnClick">btnCancelJSClick</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Schedule by:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">18</property>
    <property name="Left">64</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">64</property>
    <property name="Width">75</property>
  </object>
  <object class="ComboBox" name="cmbSchedule" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items"><![CDATA[a:1:{s:4:&quot;Date&quot;;s:4:&quot;Date&quot;;}]]></property>
    <property name="Left">145</property>
    <property name="Name">cmbSchedule</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">62</property>
    <property name="Width">189</property>
    <property name="jsOnChange">cmbScheduleJSChange</property>
  </object>
  <object class="Label" name="Label5" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">64</property>
    <property name="Name">Label5</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">170</property>
    <property name="Width">75</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Vendor:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">95</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">203</property>
    <property name="Width">44</property>
  </object>
  <object class="ComboBox" name="cmbVendor" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">145</property>
    <property name="Name">cmbVendor</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">199</property>
    <property name="Width">441</property>
  </object>
  <object class="Label" name="lblComments" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Comments:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">64</property>
    <property name="Name">lblComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">236</property>
    <property name="Width">75</property>
  </object>
  <object class="Memo" name="memoComments" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">89</property>
    <property name="Left">145</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">236</property>
    <property name="Width">441</property>
  </object>
  <object class="Edit" name="edDesc" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">145</property>
    <property name="Name">edDesc</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">6</property>
    <property name="Top">166</property>
    <property name="Width">441</property>
  </object>
  <object class="Label" name="lblType" >
    <property name="Caption">Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">352</property>
    <property name="Name">lblType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">137</property>
    <property name="Width">35</property>
  </object>
  <object class="ComboBox" name="cmbType" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">390</property>
    <property name="Name">cmbType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">133</property>
    <property name="Width">172</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Alignment">agLeft</property>
    <property name="Caption">Completion Window:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">24</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">136</property>
    <property name="Width">115</property>
  </object>
  <object class="ComboBox" name="cmbcompletion" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items"><![CDATA[a:4:{s:0:&quot;&quot;;s:0:&quot;&quot;;s:9:&quot;WorkOrder&quot;;s:10:&quot;Work Order&quot;;s:7:&quot;Payment&quot;;s:7:&quot;Payment&quot;;s:4:&quot;None&quot;;s:4:&quot;None&quot;;}]]></property>
    <property name="Left">145</property>
    <property name="Name">cmbcompletion</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">132</property>
    <property name="Width">190</property>
    <property name="jsOnChange">cmbcompletionJSChange</property>
  </object>
  <object class="Button" name="btnShowType" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add reminder type</property>
    <property name="Left">562</property>
    <property name="Name">btnShowType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">5</property>
    <property name="Top">133</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowTypeJSClick</property>
  </object>
  <object class="Label" name="lblOrby" >
    <property name="Alignment">agRight</property>
    <property name="Caption">or by:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">372</property>
    <property name="Name">lblOrby</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">8</property>
    <property name="Width">43</property>
  </object>
  <object class="DateTimePicker" name="dpDue1" >
    <property name="Caption">dpDue</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">422</property>
    <property name="Name">dpDue1</property>
    <property name="ParentFont">0</property>
    <property name="Top">4</property>
    <property name="Width">189</property>
  </object>
  <object class="Image" name="Image3" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Height">28</property>
    <property name="ImageSource">image/reschedule_reminder.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image3</property>
    <property name="Width">800</property>
  </object>
  <object class="Label" name="lblFixedPrice" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Fixed Price:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">340</property>
    <property name="Name">lblFixedPrice</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">340</property>
    <property name="Visible">0</property>
    <property name="Width">75</property>
  </object>
  <object class="Edit" name="edPrice" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">422</property>
    <property name="Name">edPrice</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">336</property>
    <property name="Visible">0</property>
    <property name="Width">175</property>
  </object>
  <object class="JTDivWindow" name="JTDivType" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Reminder Type</property>
    <property name="Height">251</property>
    <property name="Left">618</property>
    <property name="Name">JTDivType</property>
    <property name="SiteTheme"></property>
    <property name="Top">133</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox1" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox1</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listType" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edType" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#FFFFFF</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelTypeJSClick</property>
      </object>
      <object class="Button" name="btnAddType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#FFFFFF</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddTypeJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxType2(ty,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('remindertypeajax.php','cmbType',compid);
  AjaxType('remindertypeajax.php','listType',compid);

  }
  }
  var url='addremindertypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">628</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">76</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">628</property>
    <property name="Name">compid</property>
    <property name="Top">56</property>
    <property name="Width">200</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxType(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">815</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">73</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxType3(ty,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('remindertypeajax.php','cmbType',compid);
  AjaxType('remindertypeajax.php','listType',compid);
  }
  }
  var url='delremindertypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">815</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">88</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfsched" >
    <property name="Height">18</property>
    <property name="Left">628</property>
    <property name="Name">hfsched</property>
    <property name="Top">88</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="lblDueby" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Due by:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">64</property>
    <property name="Name">lblDueby</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">102</property>
    <property name="Width">75</property>
  </object>
  <object class="Label" name="lblDueat" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Due at:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">64</property>
    <property name="Name">lblDueat</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">102</property>
    <property name="Width">75</property>
  </object>
  <object class="Label" name="lblHours" >
    <property name="Caption">Km</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">344</property>
    <property name="Name">lblHours</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">102</property>
    <property name="Width">35</property>
  </object>
  <object class="Label" name="lblhr" >
    <property name="Caption">Hours</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">278</property>
    <property name="Name">lblhr</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">98</property>
    <property name="Width">35</property>
  </object>
  <object class="DateTimePicker" name="dpDue2" >
    <property name="Height">21</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">145</property>
    <property name="Name">dpDue2</property>
    <property name="Top">98</property>
    <property name="Width">189</property>
  </object>
  <object class="Edit" name="edDue" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">145</property>
    <property name="Name">edDue</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">98</property>
    <property name="Width">189</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">615</property>
        <property name="Top">10</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
